/*** 
 * @ ****************************************** 
 * @Editors: yangyifan yangyf@mw-robot.com
 * @Date: 2025-03-13 18:14:04
 * @LastEditTime: 2025-04-30 16:23:00
 * @Description: 
 * @ ****************************************** 
 */
// calibration/src/main.cpp


#include "calibrator_factory.h"

int main(int argc, char** argv) {
    ConfigInfo& config = ConfigInstance::instance().get_config();
    IntrinsicConfig intrinsicConfig;

    // 使用工厂模式创建标定器
    auto calibrator = CalibratorFactory::createCalibrator("intrinsic", intrinsicConfig);
    if (!calibrator) {
        std::cout << "无法创建标定器！" << std::endl;
        return false;
    }

    // 执行标定
    if(!calibrator->run()) {
        std::cout << "标定出错了！" << std::endl;
    };
    return 0;
}
